import {
  legacy_createStore as createStore,
  combineReducers,
  applyMiddleware,
} from "redux";
import carReducer from "./car/carReducer";
import logger from "redux-logger";
const reducer = combineReducers({ car: carReducer });
const store = createStore(reducer, applyMiddleware(logger));
export default store;
